package com.ruoyi.projects.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实操记录对象 sl_operate_log
 * 
 * @author yangz
 * @date 2024-12-02
 */
public class SlOperateLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 操作记录id */
    private Long operateId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customId;

    /** 客户昵称 */
    @Excel(name = "客户昵称")
    private String customerName;

    /** 预约id */
    @Excel(name = "预约id")
    private Long apointId;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String operateText;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /** 操作师 */
    @Excel(name = "操作师")
    private String operateUserName;

    /** 能量值 */
    @Excel(name = "能量值")
    private Integer operatePower;

    /** 脉宽值 */
    @Excel(name = "脉宽值")
    private Integer operatePulse;

    /** 频率值 */
    @Excel(name = "频率值")
    private Integer operateRate;

    public void setOperateId(Long operateId) 
    {
        this.operateId = operateId;
    }

    public Long getOperateId() 
    {
        return operateId;
    }
    public void setCustomId(Long customId) 
    {
        this.customId = customId;
    }

    public Long getCustomId() 
    {
        return customId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setApointId(Long apointId) 
    {
        this.apointId = apointId;
    }

    public Long getApointId() 
    {
        return apointId;
    }
    public void setOperateText(String operateText) 
    {
        this.operateText = operateText;
    }

    public String getOperateText() 
    {
        return operateText;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setOperateUserName(String operateUserName) 
    {
        this.operateUserName = operateUserName;
    }

    public String getOperateUserName() 
    {
        return operateUserName;
    }
    public void setOperatePower(Integer operatePower) 
    {
        this.operatePower = operatePower;
    }

    public Integer getOperatePower() 
    {
        return operatePower;
    }
    public void setOperatePulse(Integer operatePulse) 
    {
        this.operatePulse = operatePulse;
    }

    public Integer getOperatePulse() 
    {
        return operatePulse;
    }
    public void setOperateRate(Integer operateRate) 
    {
        this.operateRate = operateRate;
    }

    public Integer getOperateRate() 
    {
        return operateRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("operateId", getOperateId())
            .append("customId", getCustomId())
            .append("customerName", getCustomerName())
            .append("apointId", getApointId())
            .append("operateText", getOperateText())
            .append("operateTime", getOperateTime())
            .append("operateUserName", getOperateUserName())
            .append("operatePower", getOperatePower())
            .append("operatePulse", getOperatePulse())
            .append("operateRate", getOperateRate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
